﻿@model List<S4Store.Domain.Store>
@{
    ViewBag.Title = "Add";
    Layout = null;
}
<form class="pageForm addpage" action="@Url.Action("Add")" method="post">
<div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">
		<div class="pageFormContent" style="overflow: auto;" ratio="*">
            <table style="width:100%">
                <tr>
                    <td width="10%">姓名：</td>
                    <td width="40%"><input type="text" value="" size="30" name="Name" class="textInput" /></td>
                    <td width="20%">性别：</td>
                    <td width="30%"><input type="radio" value="1" name="Sex" checked="checked"/>男 &nbsp; &nbsp;<input type="radio" value="0" name="Sex"/>女 </td>
                </tr>
                <tr>
                    <td width="10%">电  话：</td>
                    <td width="40%"><input type="text" size="30" name="Tel" class="textInput" /></td>
                    <td width="20%">从业开始时间：</td>
                    <td width="30%"><input type="text" size="30" class="textInput datetime" name="WorkStartDate" readonly="readonly" /></td>
                </tr>                
                <tr>
                    <td width="10%">岗位级别：</td>
                    <td width="40%"><select name="GradeValue">
                        <option value="0">初级</option>
                        <option value="1">中级</option>
                        <option value="2">高级</option>                        
                    </select></td>
                    <td width="20%">出生年月：</td>
                    <td width="30%"><input type="text" size="30" class="textInput datetime" name="Birthday" readonly="readonly" /></td>
                </tr>
                 <tr>
                    <td width="10%">所属店：</td>
                    <td width="40%"> <select name="StoreId">
                        <option value=""></option>
                        @foreach (var store in Model)
                        {
                            <option value="@store.Id">@store.Name</option>
                        }
                    </select></td>
                    <td width="20%">工作岗位：</td>
                    <td width="30%"><select name="TypeValue">
                        <option value="1">现场销售</option>
                        <option value="2">电话销售</option>
                        <option value="4">服务顾问</option>   
                        <option value="8">客户专员</option>  
                        <option value="16">车间主管</option>                    
                    </select></td>
                </tr>
                
                 <tr>
                    <td width="10%">入职时间：</td>
                    <td width="40%"> <input type="text" size="30" class="textInput datetime" name="EmployedDate" readonly="readonly" /></td>
                    <td width="20%"></td>
                    <td width="30%"></td>
                </tr>
            </table>
			
		</div>
		<div class="formBar" ratio="#30">
			<ul>
                <li><div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div></li>	
			</ul>
		</div>
</div>
</form>

